package com.yociyy.gen.biz;

import com.yociyy.gen.entity.GenColumn;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yociyy.gen.mapper.GenColumnMapper;

import java.util.List;

/**
 * 代码生成器 - 数据列
 *
 * @author: YoCiyy
 * @date: 2020/5/20
 */
@Service
public class GenColumnBiz {

    @Autowired
    private GenColumnMapper genColumnMapper;

    public List<GenColumn> selectColumns(String tableName){
        return genColumnMapper.selectColumns(tableName);
    }
}
